package cn.edu.cqupt.dao;

import org.apache.ibatis.annotations.Param;

import cn.edu.cqupt.model.CUser;

public interface CUserMapper {
    int deleteByPrimaryKey(String userid);

    int insert(CUser record);

    int insertSelective(CUser record);

    CUser selectByPrimaryKey(String userid);

    int updateByPrimaryKeySelective(CUser record);

    int updateByPrimaryKey(CUser record);

	CUser selectuserinfoByloginInfo(@Param("username")String username, @Param("password")String password);

	CUser isHaveUser(String username);
}